[libarchive] Fix static linking dependencies#16082
[libarchive] Fix static linking dependencies#16082strega-nil merged 1 commit intomicrosoft:masterfrom
Conversation
NancyLi1013
left a comment
There was a problem hiding this comment.
Please also bump Port-Version in CONTROL file.
Also use the command vcpkg x-add-version libarchive to update the files in versions folder.
https://github.com/microsoft/vcpkg/blob/master/docs/maintainers/maintainer-guide.md#update-the-version-files-in-versions-of-any-modified-ports
3ec45c0 to
9199e69
Compare
|
Sorry I forgot to commit the updated CONTROL file when running |
9199e69 to
3a7179b
Compare
|
I have to idea why the x64_linux CI tests failed. |
|
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
The failures on x64-linux are not related with this PR. I have rerun to rebuild. |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
I'm unable to reproduce the x64-linux error locally. Running The errors in windows triplets seems irrelevant. They failed due to some network errors. |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
It's quite surprising that it's trying to link against glib. The cmake port doesn't depend on the glib port at all (not even intermediately, glib is not installed when I built cmake in a clean vcpkg installation). I guess the reason why I'm unable to reproduce the error is that my Arch Linux environment already has the library available under |
|
cc @ras0219 @ras0219-msft Thanks. |
|
Strangely, after removing libglib-2.0.so from /usr/lib, build fails with another error So I still have no idea why it's unable to find the glib library in the CI build... |
|
Could you please resolve the conflicts? |
3a7179b to
81e04fe
Compare
|
@NancyLi1013 Rebased. |
|
LGTM now, thanks for your patience @DDoSolitary. |
Fix configuration of libarchive's dependencies zstd and zlib, which would otherwise cause undefined symbols error when linking statically.